<!DOCTYPE html>
<html lang="zh-CN">
    <meta charset="UTF-8">
    <meta name="keywords" content="首页">
    <meta name="description" content="首页">
    <title>首页</title>
    <link rel="stylesheet" href="./css/common.css">
    <style>
        .full-center {
            height: 100px;
            background-color: #35c3d9;
        }

        .auto-center {
            height: 100px;
            background-color: red;
            overflow: hidden;
        }

        .full-center>.auto-center {
            height: 80px;
            background-color: blue;
            overflow: hidden;
        }
    </style>
    <body>
        <div class="full-center">
            <div class="auto-center">
                11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
            </div>
        </div>
        <div class="auto-center">
            222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
        </div>
    </body>
</html>